
/*
 * 动态改变font-size
 * @ a  document
 * @ b 	window
 */
var Fun = function(a, b) {
	var c = a.documentElement,
		d = "orientationchange" in window ? "orientationchange" : "resize",
		e = function() {
			var a = c.clientWidth;
			a && (c.style.fontSize = 100 * (a / 750) + "px")
		};
	a.addEventListener && (b.addEventListener(d, e, !1), a.addEventListener("DOMContentLoaded", e, !1))
}

export default Fun